<?php
$this->breadcrumbs=array(
	'Manage Coffee Shops'=>array('admin'),
	$model->name=>array('view','id'=>$model->id),
	'Update',
);

//$this->menu=array(
//	array('label'=>'List CoffeeShop', 'url'=>array('index')),
//	array('label'=>'Create CoffeeShop', 'url'=>array('create')),
//	array('label'=>'View CoffeeShop', 'url'=>array('view', 'id'=>$model->id)),
//	array('label'=>'Manage CoffeeShop', 'url'=>array('admin')),
//);
?>

<h1>Update CoffeeShop <?php echo $model->name; ?></h1>
<p><?php echo CHtml::link('Manage Images',array('manageImages','id'=>$model->id))?></p>
<div class="form">
<?php 
$form=$this->beginWidget('CActiveForm', array(
	//'action'=>array('coffeeShop/update'),
	'id'=>'coffeeshop-form-action',
	'enableAjaxValidation'=>false,
));
?>
<p>Create Lead in Zoho: <input type="submit" name="additionAction" value="Create Lead" /></p>
<p>Resend Welcome Email: <input type="submit" name="additionAction" value="Resend Welcome" /></p>
<p>Subscribe Manually for 1 year: <input type="submit" name="additionAction" value="Subscribe Manually" onclick="return confirm('Subscribe the cafe for 1 year?');" /></p>
<?php $this->endWidget(); ?>
</div>
<?php echo $this->renderPartial('_form', array('model'=>$model)); ?>